package is.ru.honn.rupin.data;

import is.ru.honn.rupin.domain.Board;
import is.ruframework.data.RuDataAccess;

import java.util.List;

/**
 * Created by Sigrún Inga Kristinsdóttir.
 * Date: 16.10.2012
 * Time: 13:33
 *  * copyright (c) sigruninga&susanne
 *
 * @author Sigrún Inga kristindóttir og Susanne Götz
 * @version 1.1
 */

/**
 * Interface fyrir gagnagrunstenginu í töflu fyrir borð
 */
public interface BoardDataGateway extends RuDataAccess
{
    public void add(Board board);
    public Board getBoardByKey(String boardname, String username);
    public List<Board> getBoardsByUser(String username);
}
